package com.example.phone.base;

import android.app.Application;

import com.example.phone.bean.Product;
import com.example.phone.bean.ShoppingCartList;
import com.example.phone.bean.User;


/*
 **用于存储用户的信息
 */
public class MyApp extends Application {
    private User user = null;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }


    private Product product = null;

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }


    private ShoppingCartList shoppingCartList = null;

    public ShoppingCartList getShoppingCartList(){return shoppingCartList;}

    public void setShoppingCartList(ShoppingCartList shoppingCartList) {
        this.shoppingCartList = shoppingCartList;
    }
}
